<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
    <title>Thymeleaf Example</title>
</head>
<body>
    <div>
        <a href="/model/form" th:href="@{/model/form}">
            <button>Add Example</button>
        </a>
    </div>
    <table border="2">
        <thead>
            <tr>
                <td>ID</td>
                <td>Account</td>
                <td>Operate</td>
            </tr>
            <tr th:each="item:${list}">
                <td th:text="${item.id}"></td>
                <td><a th:href="@{'/model/info/' + ${item.id}}" th:text="${item.account}"></a></td>
                <td><a th:href="@{'/model/delete/' + ${item.id}}">Delete</a></td>
            </tr>
        </thead>
    </table>
</body>
</html>